#ifndef WINDOWMANAGER_H
#define WINDOWMANAGER_H

#include <QObject>
#include <QQmlApplicationEngine>
#include <QUrl>

class QWindowManager : public QObject
{
    Q_OBJECT

    QHash<QString, QQmlApplicationEngine *> windowsMap;

public:
    explicit QWindowManager(QObject *parent = nullptr);
    Q_INVOKABLE void newWindow(QString name, QUrl url);
    Q_INVOKABLE QQmlApplicationEngine *getWindow(QString name);

signals:

};

#endif // WINDOWMANAGER_H
